package com.caishi.lkx.user.vo;

import com.caishi.lkx.user.ienum.type.HaveType;
import com.caishi.lkx.user.ienum.type.UserType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author by keray
 * date:2021/6/5 4:07 下午
 */
@Getter
@Setter
@Schema(title = "用户全量信息")
public class UserAllDataVo extends UserShowVo {

    @Schema(title = "用户角色 groupMember,member为用户 teacher老师 assistant助教 groupAdmin机构管理员 admin系统管理员 ")
    private UserType[] userTypes;

    @Schema(title = "用户所属平台 vers7 ykt kaoyan ")
    private HaveType[] haveTypes;

    @Schema(title = "时当前机构id")
    private Long groupId;

    @Schema(title = "机构code")
    private String groupCode;

    @Schema(title = "用户有效期")
    private LocalDateTime memberExpireDate;

    @Schema(title = "用户绑定机构信息")
    private UserGroupMessageVo groupMessage;

    @Schema(title = "邮箱")
    private String email;

    @Schema(title = "生日")
    private LocalDate birthday;

    @Schema(title = "是否时机构拥有者")
    private Boolean groupOwner;
    @Schema(title = "是否是carsi用户")
    private Boolean isCarsi;
    @Schema(title = "加密的用户id")
    private String encryptId;
    @Schema(title = "加密手机号")
    private String encryptMobile;
}
